package util;

public class Assert {
	public static void check( boolean b, String message ) {
		if( ! b ) {
			throw new AssertionError( message ) ;
		}
	}
	
	public static void check( boolean b) {
		check( b, "Assertion Failed") ;
	}
	
	public static void notReached( String message ) {
		throw new AssertionError(  message ) ;
	}
	
	public static void notReached( ) {
		notReached( "This code should not be reached") ;
	}
	
	public static void TBD() {
		throw new AssertionError( "To be done" ) ;
	}
}
